<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>部门管理</title>
		<script type='text/javascript' src='../../dwr/engine.js'></script>
		<script type='text/javascript' src='../../dwr/util.js'></script>
		<script type='text/javascript' src='../../dwr/interface/ConfigAction.js'></script>
		<script src="../js/zjpii_common.js"></script>
		<script src="../js/acl_util.js"></script>
		<script src="../js/aclorg.js"></script>
		<script type="text/javascript" src="../components/drag-drop-folder-tree/js/context-menu.js"></script>
		<script type="text/javascript" src="../components/drag-drop-folder-tree/js/drag-drop-folder-tree.js"></script>
		<link rel="stylesheet" href="../components/drag-drop-folder-tree/css/drag-drop-folder-tree.css" type="text/css"></link>
		<link rel="stylesheet" href="../components/drag-drop-folder-tree/css/context-menu.css" type="text/css"></link>
		<link href="../themes/default/css/config.css" rel="stylesheet" type="text/css">
	</head>
	<body onload="pageInit('0');">
	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" >
		<tr >
			<td valign="top" height="100%"><!--height 100% -->
				<!--left begin-->
				<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
					<tr>
						<td height="100%">
							<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="table">
								<tr>
									<th  align="left"><h3><img src="../themes/default/images/Contacts.gif" width="16" height="16">部门管理</h3></th>
								</tr>
								<tr>
								  <td>
								  &nbsp;&nbsp;<img src="../themes/default/images/shou.gif" width="15" height="14" /><a href="javascript:treeObj.collapseAll();">收缩</a>
								  &nbsp;&nbsp;<img src="../themes/default/images/shou2.gif" width="16" height="16" /><a href="javascript:treeObj.expandAll();" >展开</a>
								  </td>
								</tr>
								<tr>
									<td height ="90%">
										<div id="org_tree" style="FONT-SIZE: 13px; OVERFLOW: auto; WIDTH: 250px; HEIGHT:100%"></div>
									</td>
								</tr>
								<tr>
								  <td>&nbsp;</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<!--left end-->
			</td>
			<td valign="top" align="left" width="100%" height="100%">
				<div id="div_org_detail"></div>
			</td>
		</tr>
	</table>
	
<!--next html is hidden -->
<div id="div_org_op" style="display:none">
	<!-- button begin -->
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td style="padding-bottom: 2px;" id="op_button">
				<input title="Save [Alt+S]" accessKey="S" class="button"  onclick="return saveOrg();" type="button" name="add" value="  保存  " > 
				<input title="Close [Alt+C]" accessKey="C" class="button" onclick="setOrgdetail('');" type="button" name="cencel" value="  关闭  "></td>
			<td align="right" nowrap><span class="required">*</span> 必需</td>
			<td align='right'></td>
		</tr>
	</table>
	<!-- button end -->
	<!-- op_html begin -->
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
					<tr>
						<th align="left" colspan="4"><h3 id="orgop_title"><img src="../themes/default/images/Contacts.gif" width="16" height="16">添加组织</h3></th>
					</tr>
					<tr>
						<td  width='15%'>部门名称:</td>
						<td  width='35%'><input type="text" name="deptname" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"> <span class="required">*</span></td>
						<td  width='15%'>上级部门:</td>
						<td><input type="text" name="parentname" class="input_readonly" readOnly size="25"></td>
					</tr>
					<tr>
						<td>部门编码:</td>
						<td><input type="text" name="deptcode" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"></td>
						<td>部门区号:</td>
						<td><input type="text" name="areacode" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"></td>
					</tr>
					<tr>
						<td>部门类型:</td>
						<td>
							<select name="depttype" class="input" onblur="this.className='pass';" onfocus="this.className='lave';">
					          <option value="0">请选择</option>
					          <option value="1">本地网</option>
				  	          <option value="2">下级县市</option>
					          <option value="3">普通部门</option>
				          	</select> <span class="required">*</span>
	         			</td>
						<td>部门次序:</td>
						<td><input type="text" name="deptorder" value="0" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"> <span class="required">*</span></td>
					</tr>
					<tr>
						<td>备注 :</td>
						<td colspan="3"><textarea type="text" name="remark" cols="52" rows="3" class="input" onblur="this.className='pass';" onfocus="this.className='lave';"></textarea></td>
					</tr>
					<tr>
					  <td >&nbsp;</td>
					  <td >
				          <input type="hidden" name="id">
				          <input type="hidden" name="parentid">
				          <input type="hidden" name="extend1">
				          <input type="hidden" name="extend2">
				          <input type="hidden" name="delflag" value="0">
					  </td>
					  <td >&nbsp;</td>
					  <td >&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<!-- op_html end -->
</div>

<!-- query org2user begin -->
<div id="div_orgrelauser_hidden" style="display:none">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
					<tr>
						<th align="left"><h3><img src="../themes/default/images/Contacts.gif" width="16" height="16">部门信息</h3></th>
					</tr>
					<tr>
						<td id="zzxi"></td>
					</tr>
					<tr>
					  <td >&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
					<tr>
						<th align="left" colspan="4"><h4>部门用户信息</h4></th>
					</tr>
					<tr>
						<td  width='15%'>登陆帐号:</td>
						<td  width='30%'><input type="text" name="account" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"></td>
						<td  width='15%'>用户名称:</td>
						<td><input type="text" name="realname" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"></td>
					</tr>
					<tr>
					  <td >&nbsp;</td>
					  <td ><input type="hidden" name="orgid"><input type="hidden" name="orgname"></td>
					  <td >&nbsp;</td>
					  <td >&nbsp;</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<br>
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td style="padding-bottom: 2px;">
				<input title="Search [Alt+S]" accessKey="S" class="button"  onclick="loadAcluserRelaAclorgList();" type="button" name="search" value="  查询  " >
				<input title="Reset [Alt+R]" accessKey="R" class="button"  type="reset" name="reset" value="  重置  " >
				<input title="Add [Alt+A]" accessKey="A" class="button"  onclick="openAcluserop();" type="button" name="add" value="  添加用户  " >
				<input title="Delete [Alt+D]" accessKey="D" class="button"  onclick="return deleteUser();" type="button" name="add" value="  删除用户  " >
				<input title="Close [Alt+C]" accessKey="C" class="button" onclick="setOrgdetail('');" type="button" name="cencel" value="  关闭  "></td>
			<td align='right'></td>
		</tr>
	</table>
	<div id="orguser_page_div" align="right"></div><!--分页-->
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="table_orguser_query">
		<colgroup>
			<col id="col1_1"></col>
			<col id="col1_2"></col>
			<col id="col1_3"></col>
			<col id="col1_4"></col>
			<col id="col1_5"></col>
			<col id="col1_6"></col>
			<!--<col id="col1_7"></col>
			<col id="col1_8"></col>-->
			<col id="col1_9"></col>
			<col id="col1_10"></col>
		</colgroup>
		<thead>
			<tr> 
				<td width="7%" align="center" valign="middle"><input type="checkbox" name="orguserchkall" onclick="chooseAll('orguserchkbox')" class="checkbox">全选</td>
				<td width="20%" align="center" valign="middle">登陆帐号</td>
				<td width="20%" align="center" valign="middle">用户名称</td>
				<td width="7%" align="center" valign="middle">用户状态</td>
				<td width="7%" align="center" valign="middle">是否在线</td>
				<td width="10%" align="center" valign="middle">创建日期</td>
				<!--<td width="10%" align="center" valign="middle">小灵通</td>
				<td width="10%" align="center" valign="middle">手机</td>-->
				<td width="10%" align="center" valign="middle">联系电话</td>
				<td width="7%" align="center" valign="middle">操作</td>
			</tr>
		</thead>
		<tbody id="orguser_table"></tbody>
	</table>
<div>
<!-- query org2user end -->

<!-- edit detail -->
<div id="div_hidden_edit" style="display:none">
	<input title="Save [Alt+S]" accessKey="S" class="button"  onclick="return saveOrg();" type="button" name="edit" value="  保存  " > 
	<input title="Cancel [Alt+C]" accessKey="C" class="button" onclick="setOrgDetailHtml();" type="button" name="cencel" value="  取消  ">
</div>
<div id="div_hidden_detail" style="display:none">
	<input title="Edit [Alt+E]" accessKey="E" class="button"  onclick="setOrgEditHtml();" type="button" name="edit" value="  编辑  " > 
	<input title="Close [Alt+C]" accessKey="C" class="button" onclick="setOrgdetail('');" type="button" name="cencel" value="  关闭  ">
</div>
	</body>
</html>
